FROM node:12.16.1

USER root

COPY js /home/js

WORKDIR /home/js

RUN npm install --registry=https://registry.npm.taobao.org

VOLUME /home/js/config

ENTRYPOINT ["node","index.js"]
